<div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>项目收费</h5>
                    <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-primary btn-sm" style="margin-right:10px;"
                                v-on:click="_chooseServFees()">选择费用
                        </button>
                    </div>
                </div>
                <div class="ibox-content">
                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                        <tr>
                            <th class="text-center">费用大类</th>
                            <th class="text-center">费用名称</th>
                            <th class="text-center">收费金额</th>
                            <th class="text-center">实收金额</th>
                            <th class="text-center">状态</th>
                            <th class="text-center">操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr v-for="(fee,index) in finishHousekeepingPoolInfo.fees">
                            <td class="text-center">{{fee.typeName}}</td>
                            <td class="text-center">{{fee.feeName}}</td>
                            <td class="text-center">{{fee.price}}</td>
                            <td class="text-center" v-if="fee.state == '1001'">
                                <input v-model="fee.payPrice" type="text" placeholder="请输入实际收入金额"
                                       class="form-control">
                            </td>
                            <td class="text-center" v-else>{{fee.payPrice}}</td>
                            <td class="text-center">{{fee.state == '1001'?'未支付':'已支付'}}</td>
                            <td class="text-center" v-if="fee.state == '1001'">
                                <div class="btn-group">
                                    <button class="btn-white btn btn-xs" v-on:click="_deleteFee(index)">删除
                                    </button>
                                </div>
                            </td>
                        </tr>
                        </tbody>
                        <tfoot>
                        <tr>
                            <td colspan="7">
                                <ul class="pagination float-right"></ul>
                            </td>
                        </tr>
                        </tfoot>
                    </table>
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>工单结单</h5>
                </div>
                <div class="ibox-content">
                    <div>
                        <div>
                            <div class="form-group row">
                                <label class="col-sm-2 col-form-label">处理意见</label>
                                <div class="col-sm-10">
                                    <textarea placeholder="必填，请填写处理意见" cols="15" class="form-control"
                                              v-model="finishHousekeepingPoolInfo.context">
                                    </textarea>
                                </div>
                            </div>
                            <div class="form-group row">
                                <label class="col-sm-2 col-form-label">处理前图片</label>
                                <div class="content-img col-sm-10">
                                    <vc:create path="frame/uploadImage" callBackListener="finishHousekeepingPoolInfo"
                                               callBackFunction="notifyUploadBeforeReapirImage"
                                               namespace="finishHousekeepingPool1">
                                    </vc:create>
                                </div>
                            </div>
                            <div class="form-group row">
                                <label class="col-sm-2 col-form-label">处理后图片</label>
                                <div class="content-img col-sm-10">
                                    <vc:create path="frame/uploadImage" callBackListener="finishHousekeepingPoolInfo"
                                               callBackFunction="notifyUploadAfterReapirImage"
                                               namespace="finishHousekeepingPool2">
                                    </vc:create>
                                </div>
                            </div>
                            <div class="ibox-content">
                                <button class="btn btn-primary float-right" type="button"
                                        v-on:click="_finishHousekeepingPoolInfo()">
                                    <i class="fa fa-check"></i>&nbsp;提交
                                </button>
                                <button type="button" class="btn btn-warning float-right" style="margin-right:20px;"
                                        v-on:click="_back()">
                                    <i class="fa fa-close"></i>&nbsp;返回
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <vc:create path="goods/chooseHousekeepingServFee" emitChooseHousekeepingServFee="finishHousekeepingPool"
               emitLoadData="finishHousekeepingPool">
    </vc:create>
</div>